<link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" rel="stylesheet" type="text/css" />

<div class="row">
	<div class="col-md-12">
		<div class="box box-primary">
            <div class="box-header">
                <h3 class="box-title"><?php echo $title; ?></h3>
            </div><!-- /.box-header -->
			<?php $form=$this->beginWidget('CActiveForm', array(
				'id'=>'taikhoan-form',
				'enableAjaxValidation'=>false,
			)); ?>
				<div class="box-body">
					<div class="left">
						<div class="form-group">
							<?php echo $form->labelEx($model,'ten'); ?>
							<?php echo $form->textField($model,'ten',array('size'=>60,'maxlength'=>200,'class'=>'form-control','placeholder'=>'Tên thành viên')); ?>
							<?php echo $form->error($model,'ten'); ?>
						</div>

						<div class="form-group">
							<?php echo $form->labelEx($model,'cmnd'); ?>
							<?php echo $form->textField($model,'cmnd',array('size'=>50,'maxlength'=>50,'class'=>'form-control','placeholder'=>'Chứng minh thư nhân dân')); ?>
							<?php echo $form->error($model,'cmnd'); ?>
						</div>
						<div class="form-group">
							<?php echo $form->labelEx($model,'ma_so'); ?>
							<?php echo $form->textField($model,'ma_so',array('size'=>50,'maxlength'=>50,'class'=>'form-control','placeholder'=>'Mã số thành viên')); ?>
							<?php echo $form->error($model,'ma_so'); ?>
						</div>
						<div class="form-group">
							<?php echo $form->labelEx($model,'dien_thoai'); ?>
							<?php echo $form->textField($model,'dien_thoai',array('size'=>20,'maxlength'=>20,'class'=>'form-control','placeholder'=>'Số điện thoại')); ?>
							<?php echo $form->error($model,'dien_thoai'); ?>
						</div>

						<div class="form-group">
							<?php echo $form->labelEx($model,'email'); ?>
							<?php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>100,'class'=>'form-control','placeholder'=>'Địa chỉ email')); ?>
							<?php echo $form->error($model,'email'); ?>
						</div>
					</div>

					<div class="left">
						<div class="form-group">
							<?php echo $form->labelEx($model,'dia_chi'); ?>
							<?php echo $form->textField($model,'dia_chi',array('rows'=>6, 'cols'=>50,'class'=>'form-control','placeholder'=>'Địa chỉ')); ?>
							<?php echo $form->error($model,'dia_chi'); ?>
						</div>
						<div class="form-group">
							<?php echo $form->labelEx($model,'ma_tk_nganhang'); ?>
							<?php echo $form->textField($model,'ma_tk_nganhang',array('rows'=>6, 'cols'=>50,'class'=>'form-control','placeholder'=>'Mã tài khoản ngân hàng')); ?>
							<?php echo $form->error($model,'ma_tk_nganhang'); ?>
						</div>
						<div class="form-group">
							<?php echo $form->labelEx($model,'thongtin_nganhang'); ?>
							<?php echo $form->textArea($model,'thongtin_nganhang',array('rows'=>6, 'cols'=>30,'class'=>'form-control','placeholder'=>'Thông tin ngân hàng')); ?>
							<?php echo $form->error($model,'thongtin_nganhang'); ?>
						</div>
						<div class="form-group buttons">
							<?php echo CHtml::submitButton($model->isNewRecord ? 'Tạo mới' : 'Chỉnh sủa'); ?>
						</div>
					</div>
					<div style="clear:both;"></div>
				</div>
			<?php $this->endWidget(); ?>
		</div>
	</div>
</div><!-- form -->
<style type="text/css">
.left{
	width: 30%;
	margin-left: 30px;
	float: left;
}
</style>